package org.lx.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.lx.nursing.domain.NursingTask;

import java.util.List;

/**
 * @author null
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("护理任务信息")
public class NursingTaskDto extends NursingTask {
    /**
     * 用于条件查询
     */
    @ApiModelProperty("最早期望服务时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String startTime;

    @ApiModelProperty("最晚期望服务时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;

    @ApiModelProperty("护理员姓名")
    private List<String> nursingName;

    @ApiModelProperty("护理员id")
    private Long nurseId;

    /**
     * 用于取消业务
     */
    @ApiModelProperty("取消原因")
    private String reason;

    @ApiModelProperty("护理任务id")
    private Long taskId;
}
